Skip to content

Conversation

DGaffney
Copy link
Contributor

@DGaffney DGaffney commented Nov 4, 2024

Description

Fixes this sentry error where we get a null reference error when missing a language result - better to just propagate nulls than hard fail.

Reference: CV2-5050

How has this been tested?

Will add unit test for this!

Have you considered secure coding practices when writing this code?

None

@sentry-io
Copy link

sentry-io bot commented Nov 4, 2024

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: app/main/lib/langid.py

Function Unhandled Issue
langid AttributeError: 'NoneType' object has no attribute 'language' api.similarity_async_async_simila...
Event Count: 6

Did you find this useful? React with a 👍 or 👎

@DGaffney DGaffney marked this pull request as ready for review November 4, 2024 16:09
@DGaffney DGaffney merged commit acebba9 into develop Nov 4, 2024
4 checks passed
@DGaffney DGaffney deleted the cv2-5050-resolve-missing-lang-result branch November 4, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants